/// <reference path="../Resources/js/jquery/jquery.debug.js" />

Type.registerNamespace("BM");

// MenuContainer object

BM.MenuContainer = {
    trigger: function(decident, id) {
        var menuContainer = $($get(id));
        if (menuContainer.is(':visible')) {            
            $(decident).addClass("menu_unroll");
            menuContainer.hide();
        } else {
            $(decident).removeClass("menu_unroll");
            menuContainer.show();
        }
    }
}
